package com.hfzy.ihk.facade.ivr.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @描述: 基础实体类，包含各实体公用属性 .
 * @作者: WuShuicheng .
 * @创建时间: 2013-7-28,下午8:53:52 .
 * @版本: 1.0 .
 */
public class BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	private Long id;

	/**
	 * 用于乐观锁
	 * */
	private Integer version = 0;

	/**
	 * 创建时间
	 */
	private Date createTime = new Date();

	/**
	 * 创建人
	 * */
	private Integer createUserId = -1;

	/**
	 * 修改时间
	 */
	private Date modTime = new Date();

	/**
	 * 修改人
	 * */
	private Integer modUserId = -1;

	private String remark =  "NULL";

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Integer createUserId) {
		this.createUserId = createUserId;
	}

	public Date getModTime() {
		return modTime;
	}

	public void setModTime(Date modTime) {
		this.modTime = modTime;
	}

	public Integer getModUserId() {
		return modUserId;
	}

	public void setModUserId(Integer modUserId) {
		this.modUserId = modUserId;
	}
}
